A Systematic Approach to Generate Test Cases based on Faults
نویسندگان
چکیده
For the case of the software we use today, the information outside the specification is increasing. For quality assurance purposes, it would be desirable to integrate the analysis of software and hardware components with testing. In this paper, we propose a fault-based approach for generating test cases, thus overcoming the limitations of specification-based approaches that derive from the intrinsic incompleteness of the specification, and from the focus of specifications on correct behaviors, rather than potential faults. We use Fault Tree Analysis to determine how certain undesirable states can occur in a system. The results of the analysis expressed in terms of Duration Calculus are integrated with statechart based specifications. As a result, we obtain a testing model that provides a representation of the way the system behavior can be compromised by failures or abnormal conditions or interactions. In this way we can automatically derive fault-based test cases from this
منابع مشابه
Optimizing Effectiveness and Efficiency of Software Testing: a Hybrid Approach
BELL, KERA ZAKIYAH. Optimizing Effectiveness and Efficiency of Software Testing: A Hybrid Approach. (Under the direction of Dr. Mladen A. Vouk.) The overall goal of software testing is to disclose defects efficiently (i.e. as little time and cost as possible) and effectively (i.e. find as many faults as possible). It takes time to understand what to test, to generate test cases, and to execute ...
متن کاملAn Approach of Vulnerability Testing for Third-Party Component Based on Condition and Parameter Mutation
The research on component vulnerability testing is critical. In this paper, an approach of vulnerability testing is proposed based on condition mutation and parameter mutation in order to effectively detect the explicit vulnerabilities of third-party components. To start with, the Pre-condition Mutation Algorithm (PCMA) is presented to generate mutants set of the pre-condition and test cases ar...
متن کاملA Novel Approach to Generate Test Cases from UML Activity Diagrams
Model-based test case generation is gaining acceptance to the software practitioners. Advantages of this are the early detection of faults, reducing software development time etc. In recent times, researchers have considered different UML diagrams for generating test cases. Few work on the test case generation using activity diagrams is reported in literatures. However, the existing work consid...
متن کاملA Cost Based Priortizaton Approach for Test Sequence Generation
Regression Testing is the important testing approach basically used in case of versioning or any user oriented amendments in the software system. In such case instead of doing all test cases again only the selected test cases are being performed. In case of regression testing the sequence of test cases also changes based on the modified modules as well as errors in the software modules. In this...
متن کاملOn the Relationships of Faults for Boolean Specification Based Testing
Various methods of generating test cases based on Boolean specijications have previously been proposed. These methods are fault-based in the sense that test cases are aimed at detecting particular types of faults. Empirical results suggest that these methods are good at detecting particular types of faults. However, there is no information on the ability of these test cases in detecting other t...
متن کامل